package com.xsmous.open.codec;

import java.io.Serializable;

/**
 * @author 雨一直夏灬
 * @since 2020/5/30 11:31 上午
 * 年少无为、码上为生
 */
public class UserBean implements Serializable {
    private String name;
    private Integer age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public static UserBean getUserBean() {
        UserBean user = new UserBean();
        user.setName("XiaoMing");
        user.setAge(8);
        return user;
    }
}
